com.supermap.ar.areffect.gltfModel

Class BufferViews

  • java.lang.Object
    • com.supermap.ar.areffect.gltfModel.BufferViews


  • public class BufferViews
    extends java.lang.Object
    Tile set of Gltf bufferview represents tiles (or blocks) of one buffer. bufferview is defined by offset and length.
    • Constructor Summary

      Constructors 
      Constructor and Description
      BufferViews() 
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.lang.Integer getBuffer()
      Gets gltf data buffer zone
      java.lang.Integer getByteLength()
      Gets the length of bytes to be read
      java.lang.Integer getByteOffset()
      Gets the byte offset
      java.lang.Integer getByteStride()
      Gets the step size of bytes
      java.lang.String getName()
      Gets the name
      java.lang.Integer getTarget()
      Gets Target target can be a constant indicating data is used for the vertex property (34962 means ARRAY_BUFFER).
      void setBuffer(java.lang.Integer buffer)
      Sets gltf data buffer zone
      void setByteLength(java.lang.Integer byteLength)
      Sets the length of bytes to be read
      void setByteOffset(java.lang.Integer byteOffset)
      Sets the byte offset
      void setByteStride(java.lang.Integer byteStride)
      Sets the step size of bytes
      void setName(java.lang.String name)
      Sets a name
      void setTarget(java.lang.Integer target)
      Sets Target
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • BufferViews

        public BufferViews()
    • Method Detail

      • setBuffer

        public void setBuffer(java.lang.Integer buffer)
        Sets gltf data buffer zone
        Parameters:
        buffer -
      • getBuffer

        public java.lang.Integer getBuffer()
        Gets gltf data buffer zone
        Returns:
      • setByteOffset

        public void setByteOffset(java.lang.Integer byteOffset)
        Sets the byte offset
        Parameters:
        byteOffset -
      • getByteOffset

        public java.lang.Integer getByteOffset()
        Gets the byte offset
        Returns:
      • setByteLength

        public void setByteLength(java.lang.Integer byteLength)
        Sets the length of bytes to be read
        Parameters:
        byteLength -
      • getByteLength

        public java.lang.Integer getByteLength()
        Gets the length of bytes to be read
        Returns:
      • setByteStride

        public void setByteStride(java.lang.Integer byteStride)
        Sets the step size of bytes
        Parameters:
        byteStride -
      • getByteStride

        public java.lang.Integer getByteStride()
        Gets the step size of bytes
        Returns:
      • getTarget

        public java.lang.Integer getTarget()
        Gets Target target can be a constant indicating data is used for the vertex property (34962 means ARRAY_BUFFER). Or the data is used for the vertex index (34963 means ELEMENT_ARRAY_BUFFER).
        Returns:
      • setTarget

        public void setTarget(java.lang.Integer target)
        Sets Target
        Parameters:
        target -
      • setName

        public void setName(java.lang.String name)
        Sets a name
        Parameters:
        name -
      • getName

        public java.lang.String getName()
        Gets the name
        Returns: